// 以下文件格式为描述路由的协议格式
// 你可以调整 routerConfig 里的内容
// 变量名 routerConfig 为 iceworks 检测关键字，请不要修改名称

import HeaderAsideFooterResponsiveLayout from './layouts/HeaderAsideFooterResponsiveLayout';
import BlankLayout from './layouts/BlankLayout';
import Home from './pages/Home';
import NotFound from './pages/NotFound';
import UserManagement from './pages/UserManagement';
import Pageregister from './pages/Pageregister';
import Page6 from './pages/Page6';
import Pagelogin from './pages/Pagelogin';

// import Pageshaixuan from './pages/Pageshaixuan';
// import Page9 from './pages/Page9';
import Page10 from './pages/Page10';
import Pagetable from './pages/Pagetable';
import Pagesuccess from './pages/Pagesuccess';

// import Pagexinzeng from './pages/Pagexinzeng';
import Pagexinzeng from './pages/Pagexinzeng';
import Pagezhibiao from './pages/Pagezhibiao';
import Pagezhibiaogaoxiao from './pages/Pagezhibiaogaoxiao';
import TestManagement from './pages/TestManagement';
import ModifyPassword from './pages/ModifyPassword';
import ModifyAccount from './pages/ModifyAccount';
import Demo from './pages/Pagexinzeng/components/Demo';

const routerConfig = [
  {
    path: '/',
    layout: HeaderAsideFooterResponsiveLayout,
    component: Home,
  },
  // {
  //   path: '/page9',
  //   layout: BlankLayout,
  //   component: Page9,
  // },
  {
    path: '/page10',
    layout: HeaderAsideFooterResponsiveLayout,
    component: Page10,
  },
  {
    path: '/demo',
    layout: HeaderAsideFooterResponsiveLayout,
    component: Demo,
  },
  {
    path: '/',
    layout: HeaderAsideFooterResponsiveLayout,
    component: Home,
  },
  // {
  //   path: '/:a',
  //   layout: HeaderAsideFooterResponsiveLayout,
  //   component: Home,
  // },
  {
    path: '/permission/users',
    layout: HeaderAsideFooterResponsiveLayout,
    component: UserManagement,
  },
  {
    path: '/test/paper',
    layout: HeaderAsideFooterResponsiveLayout,
    component: TestManagement,
  },
  {
    path: '/page6',
    layout: BlankLayout,
    component: Page6,
  },
  {
    path: '/pagelogin',
    layout: BlankLayout,
    component: Pagelogin,
  },
  {
    path: '/pageregister',
    layout: BlankLayout,
    component: Pageregister,
  },
  {
    path: '/pagetable',
    layout: HeaderAsideFooterResponsiveLayout,
    component: Pagetable,
  },
  {
    path: '/pagesuccess',
    layout: BlankLayout,
    component: Pagesuccess,
  },
  {
    path: '/pagexinzeng',
    layout: HeaderAsideFooterResponsiveLayout,
    component: Pagexinzeng,
  },
  {
    path: '/pagezhibiao',
    layout: HeaderAsideFooterResponsiveLayout,
    component: Pagezhibiao,
  },
  {
    path: '/pagezhibiaogaoxiao',
    layout: HeaderAsideFooterResponsiveLayout,
    component: Pagezhibiaogaoxiao,
  },
  {
    path: '/modify',
    layout: HeaderAsideFooterResponsiveLayout,
    component: ModifyPassword,
  },
  {
    path: '/modifyAccount',
    layout: HeaderAsideFooterResponsiveLayout,
    component: ModifyAccount,
  },

  // {
  //   path: '/pagexinzeng',
  //   layout: HeaderAsideFooterResponsiveLayout,
  //   component: Pagexinzeng,
  // },
  // {
  //   path: '/pageshaixuan',
  //   layout: BlankLayout,
  //   component: Pageshaixuan,
  // },
  {
    path: '*',
    layout: HeaderAsideFooterResponsiveLayout,
    component: NotFound,
  },
];

export default routerConfig;
